﻿//=====================================================================================================
// LocalizationLibrary
// The Localization Library is a collection of reusable software component that provide 
// support for localization. This library enable you to localize WPF, Silverlight and WP7 applications.
// (http://localizationlibrary.codeplex.com)
//=====================================================================================================
// Author: Nicola Gallo (Website: www.nicola.gallo.name, Email: nicolagmt@hotmail.it) 
//=====================================================================================================

namespace HelloWorld.Startup.LocaliationModels
{
    //.NET References
    using System;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Documents;
    using System.Windows.Ink;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;

    //LocalizationLibrary References
    using LocalizationLibrary;
    using LocalizationLibrary.Attributes;

    // HelloWorld References
    using HelloWorld.Startup.Constants;

    /// <summary>
    /// Languages' <see cref="LocaliationModel"/>.
    /// </summary>
    public class LanguagesLM : LocalizationModel
    {
        //Properties

        /// <summary>
        /// Gets/Sets localization for the resource with ResourceID equals to <see cref="LocalizationKey.CurrentLanguage"/>.
        /// </summary>
        [LocalizeDynamically(LocalizationKey.CurrentLanguage)]
        [LocalizeDynamically(Language = "en", Value = "Current language")]
        public String CurrentLanguage { get; set; }
    }
}
